Test cases for the LazyConnectionManager